#ifndef _DASHBOARD_H
#define _DASHBOARD_H

#define ON 	1
#define OFF 0
#define STARTED 2

typedef struct dashboard_t {
	tt_object_t obj;
	uint8_t rightIndicator;
	uint8_t leftIndicator;
	uint8_t	warningLights;
	uint8_t bounceD;
	uint8_t bounceC;
	uint32_t throttle;
} dashboard_t;

extern dashboard_t dashboard;

void	dashboardInit(dashboard_t *self, void *none);
void	dashboardCanSend(uint16_t msgId);
void	buttonFunctionC(void);
void	buttonFunctionD(void);
void	toggleIndicatorLamps(dashboard_t *self, void *none);
void	throttlePoll(dashboard_t *self, void *none);
void	debounceC(dashboard_t *self, void *none);
#endif
